// layout配置仓库

import { defineStore } from "pinia";

const useLayoutSettingStore = defineStore("SettingStore", {
  state: (): any => {
    return {
      fold: false,
      refresh: false,
      fullScreen: false
    };
  },
  actions: {
    changeFold() {
      this.fold = !this.fold;
    },
    changeRefresh() {
      this.refresh = !this.refresh;
    },
    changeFullScreen() {
      this.fullSreen = !this.fullScreen;
    }
  },
  getters: {}
});

export default useLayoutSettingStore;
